package a.h;

import a.c.y;
import a.c.z;

import javax.swing.*;
import java.util.*;

class yc
  implements ob
{
  private boolean a = true;
  private HashMap b = new HashMap();
  private z c = new z();
  
  boolean a()
  {
    return this.a;
  }
  
  void a(boolean paramBoolean)
  {
    this.a = paramBoolean;
  }
  
  public void d(String paramString)
  {
    this.c.add(paramString);
    Iterator localIterator = this.b.entrySet().iterator();
    while (localIterator.hasNext())
    {
      Map.Entry localEntry = (Map.Entry)localIterator.next();
      try
      {
        ResourceBundle localResourceBundle = ResourceBundle.getBundle(paramString, (Locale)localEntry.getKey());
        ((c)localEntry.getValue()).a(localResourceBundle);
      }
      catch (MissingResourceException localMissingResourceException) {}
    }
  }
  
  public JButton a(String paramString)
  {
    JButton localJButton = b().a(paramString);
    return localJButton;
  }
  
  public String b(String paramString)
  {
    String str = b().b(paramString);
    return str;
  }
  
  public Action c(String paramString)
  {
    Action localAction = b().c(paramString);
    return localAction;
  }
  
  private ob b()
  {
    int i = ec.t;
    boolean bool = ec.s;
    Locale localLocale = Locale.getDefault();
    ob localob = (ob)this.b.get(localLocale);
    if (i == 0) {
      if (localob == null)
      {
        c localc = new c();
        localc.a(this.a);
        y localy = this.c.h();
        if (localy.e()) {}
        for (;;)
        {
          try
          {
            ResourceBundle localResourceBundle = ResourceBundle.getBundle((String)localy.j(), localLocale);
            if (i != 0) {
              break label135;
            }
            localc.a(localResourceBundle);
            if (bool) {
              break label134;
            }
          }
          catch (MissingResourceException localMissingResourceException) {}
          localy.f();
          if (!bool) {
            break;
          }
          if (i == 0) {
            this.b.put(localLocale, localc);
          }
        }
        label134:
        label135:
        return localc;
      }
    }
    return localob;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.yc

 * JD-Core Version:    0.7.0.1

 */